package cn.zhuangcloud.word.object.unit;

import cn.zhuangcloud.word.object.question.IQuestion;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;


public class Preparation implements IUnitPart {

    private List<IQuestion> questions=new ArrayList<IQuestion>();
    private String type = "实验预习";

    public Preparation(IQuestion[] questions) {
        this.questions.addAll(Arrays.asList(questions));
    }

    public List<IQuestion> getQuestions() {
        return questions;
    }

    public void setQuestions(List<IQuestion> questions) {
        this.questions = questions;
    }

    public Object getContent() {
        return questions;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
